GET Security/GetWorkflowActivityPermissionsForIdentity?projectID={projectID}&workflowActivityID={workflowActivityID}&requestTypeID={requestTypeID}&permissionID[0]={permissionID[0]}&permissionID[1]={permissionID[1]}
Gets the granted permissions for the current user based on the specified project, workflow activity, request type, and requested permissions.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectID |
The ID of the project. |
globally unique identifier |
Required |
workflowActivityID |
The ID of the workflow activity. |
globally unique identifier |
Required |
requestTypeID |
The request type ID. |
globally unique identifier |
Required |
permissionID |
A collection of permissionID's to confirm permission for. |
Collection of globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
A collection of the permission ID's the current Identity has authorization for.
Collection of globally unique identifierResponse Formats
application/json, text/json
Sample:
{ "results": [ "2dc27c57-834d-4da9-ad47-e097531227b0", "47b9d4bf-4ed0-43ac-a089-c8767cbee5eb" ] }
text/javascript
Sample:
{"results":["2dc27c57-834d-4da9-ad47-e097531227b0","47b9d4bf-4ed0-43ac-a089-c8767cbee5eb"]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <guid>2dc27c57-834d-4da9-ad47-e097531227b0</guid> <guid>47b9d4bf-4ed0-43ac-a089-c8767cbee5eb</guid> </ArrayOfguid>